#ifndef FILEHEADER_H
#define FILEHEADER_H

#include <QByteArray>

class QDataStream;
class QDebug;

struct FileHeader
{
    QByteArray fileName;
    QByteArray payLoad;

    qint64 payLoadSize();
};


extern QDataStream &operator>>(QDataStream &in, FileHeader &block);
extern QDataStream &operator<<(QDataStream &out, FileHeader &block);
extern QDebug operator<<(QDebug debug, const FileHeader &block);



#endif // FILEHEADER_H
